Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetQTVRTrack

You can use the QTVRGetQTVRTrack function to get a QTVR track contained in a QuickTime movie.

Track QTVRGetQTVRTrack (Movie theMovie, SInt32 index);
theMovie
A QuickTime movie.
index
The index of the desired QTVR track.
function result
A track identifier for the QTVR track having the specified index in the specified QuickTime movie.

DESCRIPTION

The QTVRGetQTVRTrack function returns, as its function result, a track identifier for the QTVR track that has the index specified by the index parameter in the QuickTime movie specified by the theMovie parameter. If there is no such track, QTVRGetQTVRTrack returns the value nil .

SPECIAL CONSIDERATIONS

The index parameter is valid only for QuickTime VR movies that conform to version 2.0 or later of the QuickTime VR file format. Earlier versions of the file format permit only one QTVR track per file; QTVRGetQTVRTrack returns that track.

SEE ALSO

Use QTVRGetQTVRInstance (next) to get a QuickTime VR movie instance from the track identifier returned by QTVRGetQTVRTrack .


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |